﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ThongTinKhachHang.ascx.cs" Inherits="Control_ThongTinKhachHang" %>
<style type="text/css">
    .style1
    {
        width: 600px;
    }
    .dangki1
    {
        width: 500px;
    }
    .dangki8
    {
        height: 41px;
    }
    .dangki4
    {
        width: 204px;
    }
    .dangki6
    {
        width: 204px;
        height: 32px;
    }
    .dangki9
    {
        height: 32px;
        width: 333px;
    }
    .dangki7
    {
        height: 32px;
        width: 0;
    }
    .dangki11
    {
        height: 30px;
    }
    .dangki11
    {
        height: 27px;
        }
    .dangki12
    {
        width: 333px;
        height: 30px;
    }
    .dangki13
    {
        width: 225px;
        height: 30px;
    }
    .dangki10
    {
        width: 333px;
    }
    .dangki5
    {
        height: 27px;
        width: 204px;
    }
    .dangki3
    {
        height: 27px;
        width: 0;
    }
    .dangki2
    {
        width: 100%;
    }
    .style2
    {
        width: 333px;
        height: 27px;
    }
    .style3
    {
        width: 225px;
        height: 27px;
    }
</style>

<table align="center" cellpadding="0" cellspacing="0" class="style1">
    <tr>
        <td>
            <asp:Panel ID="Panel1" runat="server">
                <table align="center" cellpadding="3" class="dangki1">
                    <tr>
                        <td align="center" bgcolor="#0000CC" class="dangki8" colspan="4">
                            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="X-Large" 
                ForeColor="White" Text="Thông Tin Thành Viên "></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="dangki4">
                            &nbsp;</td>
                        <td colspan="3" width="450px" align="center">
                            Thông Tin Đăng Nhập</td>
                    </tr>
                    <tr>
                        <td class="dangki6">
                            Tên Đăng Nhập:
                        </td>
                        <td align="center" class="dangki9" colspan="2">
                            <asp:TextBox ID="txtTenDN" runat="server" Width="200px" 
                Enabled="False"></asp:TextBox>
                        </td>
                        <td align="center" class="dangki7" style="width: 225px" width="450px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="dangki5">
                        </td>
                        <td align="center" class="style2" colspan="2">
                        </td>
                        <td align="left" width="450px" class="style3">
                        </td>
                    </tr>
                    <tr>
                        <td class="dangki5">
                            &nbsp;
                        </td>
                        <td align="center" class="dangki11" colspan="3">
                            &nbsp;&nbsp; Thông Tin Khách Hàng</td>
                    </tr>
                    <tr>
                        <td class="dangki4">
                            Họ Tên: :
                        </td>
                        <td align="center" class="dangki10" colspan="2">
                            <asp:TextBox ID="txtHoTen" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td align="center" style="width: 225px" width="450px">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="txtHoTen" ErrorMessage="Không được để trống họ tên. " 
                ForeColor="Red">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="dangki4">
                            Giới Tính:
                        </td>
                        <td align="center" class="dangki10" width="400px">
                            <asp:RadioButton ID="rbNu" runat="server" Checked="True" GroupName="GioiTinh" 
                Text="Nữ " />
                        </td>
                        <td align="center" class="dangki10" width="400px">
                            <asp:RadioButton ID="rbNam" runat="server" GroupName="GioiTinh" Text="Nam" />
                        </td>
                        <td align="center" style="width: 225px" width="450px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="dangki4">
                            Email:
                        </td>
                        <td align="center" class="dangki10" colspan="2">
                            <asp:TextBox ID="txtEmail" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td align="center" style="width: 225px" width="450px">
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txtEmail" ErrorMessage="Nhập Sai Dạng Email" ForeColor="Red" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="dangki4">
                            Địa Chỉ:
                        </td>
                        <td align="center" class="dangki10" colspan="2">
                            <asp:TextBox ID="txtDiaChi" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td align="center" style="width: 225px" width="450px">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ControlToValidate="txtDiaChi" ErrorMessage="Không được để trống Địa chỉ" 
                ForeColor="Red">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="dangki4">
                            Số Điện Thoại:
                        </td>
                        <td align="center" class="dangki10" colspan="2">
                            <asp:TextBox ID="txtSoDT" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td align="center" style="width: 225px" width="450px">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="txtSoDT" ErrorMessage="Không được để trống số điện thoại " 
                ForeColor="Red">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="dangki4">
                            &nbsp;</td>
                        <td align="center" class="dangki10" colspan="2">
                            &nbsp;</td>
                        <td align="left" style="width: 225px" width="450px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="dangki4">
                            &nbsp;</td>
                        <td align="center" class="dangki10" colspan="2">
                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
                        </td>
                        <td align="left" style="width: 225px" width="450px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td align="center" colspan="4" style="width: 500px">
                            <table align="right" cellspacing="1" class="dangki2">
                                <tr>
                                    <td>
                                        <asp:Button ID="btnDongY" runat="server" onclick="btnDangKi_Click" 
                            Text="Đồng Ý " />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnHuy" runat="server" onclick="btnNhapLai_Click" 
                            Text="Hủy" Width="79px" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
    </tr>
</table>

